<!DOCTYPE html>
<html>
<head>
  <meta charset="utf-8">
  <title>添加救援队伍</title>
  <meta name="renderer" content="webkit">
  <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
  <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
  <link rel="stylesheet" href="__LAYUI__/css/layui.css" media="all">
  <link rel="stylesheet" href="__CSS__/common/layui.form.css" media="all">
  <link rel="stylesheet" href="__STATIC__/plugs/font-awesome/css/font-awesome.min.css" media="all">

</head>
<body>
    <div class="layui-container">
        <form class="layui-form layui-clear" action="{:url('basic/rescue/add')}" method="post" id="unitForm">
            <div class="layui-form-item">
                <div class="layui-inline col-3">
                    <label class="layui-form-label">全称&nbsp;<i class="layui-icon arrow">&#xe642;</i></label>
                    <div class="layui-input-inline resc-code" data-resc="">
                        <input class="layui-input demand" name="fullName" data-set="fullName" type="text" lay-verify="required" placeholder="请输入全称" />
                    </div>
                </div>
                <div class="layui-inline col-3">
                    <label class="layui-form-label">简称&nbsp;<i class="layui-icon arrow">　</i></label>
                    <div class="layui-input-inline">
                        <input class="layui-input demand" name="shortName" data-set="shortName" type="text" placeholder="请输入简称" />
                    </div>
                </div>
                <div class="layui-inline col-3">
                    <label class="layui-form-label">专业分类&nbsp;<i class="layui-icon arrow">&#xe642;</i></label>
                    <div class="layui-input-inline">
                        <select class="selector" name="typeId" lay-verify="required" >
                            <option></option>
                            {volist name="typeList" id="item"}
                            <option value="{$item.subsystemNo}">{$item.subsystemName}</option>
                            {/volist}
                        </select>
                    </div>
                </div>
            </div>
            <div class="layui-form-item">
                <label class="layui-form-label">地区</label>
                <div class="layui-input-inline">
                    <select name="provinceId" id="province" lay-filter="province">>
                        <option value="">请选择省</option>
                    </select>
                </div>
                <div class="layui-input-inline">
                    <select name="cityId" id="city" lay-filter="city">>
                        <option value="">请选择城市</option>
                    </select>
                </div>

                <div class="layui-input-inline">
                    <select name="areaId" id="town" lay-filter="town">>
                        <option value="">请选择区/县</option>
                    </select>
                </div>
            </div>

            <div class="layui-form-item">
                   <label class="layui-form-label">详细地址&nbsp;<i class="layui-icon arrow">　</i></label>
                    <div class="layui-input-block">
                        <input class="layui-input" name="address" data-set="address" placeholder="请输入详细地址" />
                    </div>
            </div>
            <div class="layui-form-item">
                <div class="layui-inline col-2">
                    <label class="layui-form-label">经纬度&nbsp;<i class="layui-icon arrow">&#xe642;</i></label>
                    <div class="layui-input-inline">
                        <input class="layui-input layui-position" name="latitudeLongitude"  data-set="latitudeLongitude" readonly placeholder="请选择经纬度" />
                         <a class="layui-btn layui-btn-small btn-green" id="building" data-url="{:url('basic/rescue/setBuilding')}"><i class="fa fa-map-marker"></i></a>
                    </div>
               
                </div>
                <div class="layui-inline col-2">
	                <label class="layui-form-label">有效性</label>
	                <div class="layui-input-inline">
	                 	<input type="checkbox" checked="" name="isValid" lay-skin="switch"  lay-text="有效|无效">
	                </div>
                </div>
            </div>
            	<div class="layui-form-item">
	            <div class="layui-inline col-3">
                    <label class="layui-form-label">负责人&nbsp;<i class="layui-icon arrow">　</i></label>
                    <div class="layui-input-inline">
                        <input class="layui-input demand" name="chargePerson" data-set="chargePerson" type="text" placeholder="请输入负责人" />
                    </div>
	            </div>
	
              	<div class="layui-inline col-3">
                    <label class="layui-form-label">手机&nbsp;<i class="layui-icon arrow">　</i></label>
                    <div class="layui-input-inline">
                        <input class="layui-input demand" name="mobile1" data-set="mobile1" type="text" placeholder="请输入简称" />
                    </div>
                </div>
                 <div class="layui-inline col-3">
                    <label class="layui-form-label"><small>到达现场(分)</small></label>
                    <div class="layui-input-inline">
                       <input class="layui-input" name="arriveTime" data-set="arriveTime" lay-verify="arriveTime"  placeholder="请输入时间" />
                    </div>
                </div>
            </div>
            <!--第3行-->
            
            <!--第4行-->
            <div class="layui-form-item layui-form-text">
                <label class="layui-form-label">单位简介&nbsp;<i class="layui-icon arrow">　</i></label>
                <div class="layui-input-block">
                    <textarea class="layui-textarea" name="unitDesc" data-set="unitDesc" placeholder="请输入单位简介"></textarea>
                </div>
            </div>
            <div class="layui-form-item layui-form-text">
                <label class="layui-form-label">配置状况&nbsp;<i class="layui-icon arrow">　</i></label>
                <div class="layui-input-block">
                    <textarea class="layui-textarea" name="configureDesc" data-set="configureDesc" placeholder="请输入配置状况" ></textarea>
                </div>
            </div>
            <div class="layui-form-item layui-form-text">
                <label class="layui-form-label">作用描述&nbsp;<i class="layui-icon arrow">　</i></label>
                <div class="layui-input-block">
                    <textarea class="layui-textarea" name="effect" data-set="effect" placeholder="请输入作用描述" ></textarea>
                </div>
            </div>
            <div class="layui-form-item layui-form-text">
                <label class="layui-form-label">注意事项&nbsp;<i class="layui-icon arrow">　</i></label>
                <div class="layui-input-block">
                    <textarea class="layui-textarea" name="attention" data-set="attention" placeholder="请输入注意事项" ></textarea>
                </div>
            </div>
            <div class="layui-form-item">
                 <div class="layui-input-block">
                      <button class="layui-btn btn-green" id="save" lay-submit lay-filter="save">保 存 </button>
                       <button class="layui-btn layui-btn-primary" type="reset">重 置</button>
                 </div>  
            </div>
        </form>
    </div>

    <script type="text/javascript" src="__LAYUI__/layui.js"></script>
    <script type="text/javascript" src="__JS__/basic/rescue.js"></script>


       

</body>
</html>           
